import { baseRequest } from "@/utils/request";
const request = (url, ...arg) => baseRequest(`/admin/v1/role/${url}`, ...arg);

export default {
  // 获取人员分页
  queryPage(data) {
    return request("queryPage", data);
  },
  delete(data) {
    return request("delete", data);
  },
  save(data) {
    return request("save", data);
  },
  queryList() {
    return request("queryList");
  },
};
